//out: ../css/
@xl: 12vw;
@phoneXl:3.75vw;
.main {
  .Carousel {
    .swiper {
      width: 100%;
      height: 100%;
      position: relative;

      .swiper-slide {
        position: relative;
        img {
          height: 100%;
          width: 100%;
        }
        p{
          position: absolute;
          left: 0;
          bottom: 0;
          width: 100%;
          background-color: rgba(0, 0, 0, 0.5);
          height: 50px;
          line-height: 50px;
          padding: 0 20px;
          color: #fff;
        }
      }

      .swiper-prev {
        background: url(https://www.helloimg.com/i/2024/09/29/66f8336645e8d.png);
        width: 54px;
        height: 54px;
        background-size: cover;
        background-repeat: no-repeat;
        position: absolute;
        top: 50%;
        left: 10px;
        z-index: 5;
        transform: translateY(-50%);

        &:hover {
          cursor: pointer;
        }
      }

      .swiper-next {
        background: url(https://www.helloimg.com/i/2024/09/29/66f83366505a8.png);
        width: 54px;
        height: 54px;
        background-size: cover;
        background-repeat: no-repeat;
        position: absolute;
        top: 50%;
        right: 10px;
        z-index: 5;
        transform: translateY(-50%);

        &:hover {
          cursor: pointer;
        }
      }

      .swiper-pagination{
        position: absolute;
        left: 100%;
        transform: translateX(-100%);
        width: 160px;
        height: 50px;
        bottom: 0px;
        line-height: 50px;
      }

    }
  }
}


@media (min-width:768px) and (max-width:1199.5px) {
  .swiper-prev {
    width: (54 / @xl) !important;
    height: (54 / @xl) !important;
    left: (10 / @xl) !important;
  }
  .swiper-next{
    width: (54 / @xl) !important;
    height: (54 / @xl) !important;
    right: (10 / @xl) !important;
  }
  .swiper-slide{
    p{
      height: (50 / @xl) !important;
      line-height: (50/ @xl) !important;
      padding: 0 (20 / @xl) !important;
    }
  }
  .swiper-pagination{
    width: (160/ @xl) !important;
    height: (50 / @xl) !important;
    line-height: (50 / @xl) !important;
  }
}

@media (min-width:375px ) and (max-width:767.5px){
  .swiper-prev {
    width: (30 / @phoneXl) !important;
    height: (30 / @phoneXl) !important;
    left: (5 / @phoneXl) !important;
  }
  .swiper-next{
    width: (30 / @phoneXl) !important;
    height: (30 / @phoneXl) !important;
    right: (5 / @phoneXl) !important;
  }
  .swiper-slide{
    p{
      height: (30 / @phoneXl) !important;
      line-height: (30/ @phoneXl) !important;
      padding: 0 (8 / @phoneXl) !important;
    }
  }
  .swiper-pagination{
    width: (70/ @phoneXl) !important;
    height: (30 / @phoneXl) !important;
    line-height: (30 / @phoneXl) !important;
  }
}
